home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Override Save A Copy?
- Sent: 7/8/96 2:57 AM
- Received: 7/8/96 10:11 AM
- From: Richard Rodseth, rodseth@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Mark Lanett:
-
- >At 0:23 PM 7/3/96, Ken Boyer wrote:
- >>I have successfully overridden the Insert menu command so that I could
- >>display file types other then OpenDoc. I would also like to override the
- >>behavior of the Save A Copy command. I would like to add a popup menu that
- >>would allow the user to choose a file type to save the file as. Is there a
- >>way of doing this?
- >
- >*If* your part gets menu events then you can just handle
- >kODCommandSaveACopy (or something like that).
- >
- >Of course this will only happen if your part is active, or your part is
- >embedded in the Cyberdog navigator.
- >
-
- Actually, menu events are sent to the part with the menu focus (active
- part) and to the root part of the active window, if not handled by the
- active part. This is because the root part must handle printing, for
- example.
-
- Richard
-
-
-
- "It's no use prevaricating about the bush"
- - Wallace, in "The Wrong Trousers"
-
-